package com.tuanzi.loan.business.repository.family;

import com.tuanzi.loan.vo.request.family.UpdateVersionSearchRequest;
import com.tuanzi.loan.vo.response.family.UpdateVersionSearchResponse;
import com.tuanzi.loan.vo.view.family.UpdateVersionView;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface UpdateVersionRepository {
    Page<UpdateVersionSearchResponse> list(UpdateVersionSearchRequest searchRequest, Pageable pageable);

    void updateStatus(Integer id, int status);

    UpdateVersionView findById(Integer id);

    UpdateVersionView save(UpdateVersionView view);
}
